package com.product.to;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(title = "添加流水线To")
public class AddAssemblyLineTo {
    @NotBlank(message = "流水线名称不能为空")
    @Schema(title = "流水线名字", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @Schema(title = "订单项id", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Long orderItemId;

    @Schema(title = "流水线描述", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String description;
}
